//
//  AddressView.h
//  XDBaseFrameWork
//
//  Created by xindao on 14-9-30.
//  Copyright (c) 2014年 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol AddressViewDelegate <NSObject>

-(void)chooseAddressWithProvince:(NSString *)province city:(NSString *)city area:(NSString *)area;

@end

@interface AddressView : UIView

<UIPickerViewDelegate,UIPickerViewDataSource>

@property(nonatomic,assign)id<AddressViewDelegate>delegate;

@property(nonatomic,strong)UILabel * titleLB;
@property(nonatomic,strong)UIPickerView * pickerView;
@property(nonatomic,strong)UIButton * sureBtn;
@property(nonatomic,strong)UIView * bgView;
@property(nonatomic,strong)UIView * pickeBgView;

@property(nonatomic,strong)NSMutableArray * provinceArray;      //省市数组
@property(nonatomic,strong)NSMutableArray * cityArray;      //城市数组
@property(nonatomic,strong)NSMutableArray * areaArray;    //地区数组

@property(nonatomic,assign)int provinceNumber;
@property(nonatomic,assign)int cityNumber;
@property(nonatomic,assign)int areaNumber;




@end
